// var nums = [11, 24, 13, 84, 95];

// const newNums = nums.filter((item) => item % 2 === 0);
// console.log(newNums);

var objList = [
  {
    name: "张三",
    age: 11,
  },
  {
    name: "李四",
    age: 12,
  },
];
var newList = objList.map((item) => ({ ...item, age: 13 }));
console.log(newList); // [false, true]

//forech 迭代
